<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>乐淘移动端</title>
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css" />
    <link
      rel="stylesheet"
      href="./lib/font-awesome-4.7.0/css/font-awesome.min.css"
    />
    <link rel="stylesheet" href="./css/common.css" />
    <link rel="stylesheet" href="./css/cart.css" />
  </head>

  <body>
    <!-- 全屏容器 -->
    <div class="lt-container">
      <!-- 头部 -->
      <div class="lt-header">
        <a href="index.html" class="home"><i class="fa fa-home"></i></a>
        <h4>购物车</h4>
        <a href="search.html" class="search"><i class="fa fa-search"></i></a>
      </div>
      <!-- 主体 -->
      <div class="lt-main">
           <!-- 登录悬浮按钮 -->
           <div class="lt-login-ball">
              <a href="./login.html"
                ><i class="mui-icon mui-icon-contact"></i><p>登录</p></a
              >
            </div>
        <!-- 区域滚动 -->
        <div class="mui-scroll-wrapper">
          <div class="mui-scroll">
            <!--这里放置真实显示的DOM内容-->

            <ul class="mui-table-view">
              <li class="mui-table-view-cell cart_item">
                <div class="mui-slider-right mui-disabled">
                  <a
                    class="mui-btn mui-btn-primary mui-icon mui-icon-compose btn_edit"
                  ></a>
                  <a
                    class="mui-btn mui-btn-danger mui-icon mui-icon-trash btn_delete"
                  ></a>
                </div>
                <div class="mui-slider-handle">
                  <div class="mui-table-cell">
                    <!-- 左侧图片 -->
                    <div class="cart_img">
                      <img src="./images/product.jpg" alt="" />
                      <input type="checkbox" class="ck" />
                    </div>

                    <!-- 右侧商品详情 -->
                    <div class="cart_info">
                      <p class="pro_name mui-ellipsis-2">
                        匡威三星标1970s converse复刻 142334c
                        144757c三星标黑色高帮
                      </p>
                      <p>
                        <span class="price">¥998</span>
                        <span class="oldPrice">¥1998</span>
                        <span class="mui-pull-right">20双</span>
                      </p>
                      <p>
                        鞋码: 40
                      </p>
                    </div>
                  </div>
                </div>
              </li>
            </ul>
          </div>
        </div>
      </div>
      <!-- 底部 -->
      <div class="lt-footer">
        <ul class="lt-nav mui-clearfix">
          <li>
            <a href="./index.html"><i class="fa fa-home"></i><p>首页</p></a>
          </li>
          <li>
            <a href="list.html"><i class="fa fa-list"></i><p>分类</p></a>
          </li>
          <li class="current">
            <a href="cart.html"><i class="fa fa-cart-plus"></i><p>购物车</p></a>
          </li>
          <li>
            <a href="user.html"
              ><i class="mui mui-icon mui-icon-contact"></i><p>个人中心</p></a
            >
          </li>
        </ul>
      </div>
    </div>
    <script type="text/html" id="tmp">
      {{ each list v i }}
      <li class="mui-table-view-cell cart_item">
        <div class="mui-slider-right mui-disabled">
          <a class="mui-btn mui-btn-primary mui-icon mui-icon-compose btn_edit"></a>
          <a class="mui-btn mui-btn-danger mui-icon mui-icon-trash btn_delete"></a>
        </div>
        <div class="mui-slider-handle">
          <div class="mui-table-cell">

            <!-- 左侧图片 -->
            <div class="cart_img">
              <img src="{{ v.pic[0].picAddr }}" alt="">
              <input type="checkbox" class="ck">
            </div>

            <!-- 右侧商品详情 -->
            <div class="cart_info">
              <p class="pro_name mui-ellipsis-2">
                {{ v.proName }}
              </p>
              <p>
                <span class="price">¥{{ v.price}}</span>
                <span class="oldPrice">¥{{ v.oldPrice }}</span>
                <span class="mui-pull-right">{{ v.num }}双</span>
              </p>
              <p>
                鞋码: {{ v.size }}
              </p>
            </div>

          </div>
        </div>
      </li>
      {{ /each }}
    </script>
    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/cart.js"></script>
  </body>
</html>
